package com.dries.portal.module.portal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户评价详情表
 * 
 * @author dries
 * @email samphsanie@gmail.com
 * @date 2020-08-07 13:37:44
 */
@Data
@TableName("xx_discuss_detail")
public class DiscussDetail implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;
	/**
	 * 评价表关联ID
	 */
	private Integer discussId;
	/**
	 * 评价详情
	 */
	private String discussDescription;
	/**
	 * 评价图片
	 */
	private String discussImgs;
	/**
	 * 评分
	 */
	private Integer discussRanking;
	/**
	 * 评价浏览量
	 */
	private Integer discussPageView;
	/**
	 * 店铺ID
	 */
	@JsonSerialize(using = ToStringSerializer.class)
	private Long shopId;

}
